//
//  DetailViewController.h
//  AOEProject
//
//  Created by techplus on 9/20/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "GADBannerView.h"
#import "LBYouTubePlayerViewController.h"
#import "AppDelegate.h"

@interface DetailViewController : UIViewController
<UITableViewDelegate,UITableViewDataSource, LBYouTubePlayerControllerDelegate, LBYouTubePlayerControllerDelegate>{
    NSMutableArray *list;
    
    //WITH TYPE 0 - Catalog
    // 1 - CatalogElement
    // 2 - Match
    // 3 - Game;
    NSInteger * type;
    
    
    //ATR OF CATALOG
    NSInteger *TAG_CATALOG_INDEX;
    
    //ATR of CATALOG ELEMENT
    NSInteger *TAG_CATALOG_ELEMENT_INDEX;
    
    //ATRS OF MATCH
    NSInteger *TAG_MATCH_INDEX;
    
    //
    NSString *lable1;
    NSString *lable2;
    NSString *lable3;
    
    GADBannerView *bannerView_;
    
    LBYouTubePlayerViewController* controller;

}
@property (retain,nonatomic) NSMutableArray *list;
@property (retain, nonatomic) IBOutlet UITableView *uiTableView;
@property (retain, nonatomic) IBOutlet UIImageView *uiImage;
@property (retain, nonatomic) IBOutlet UIView *uiAdView;
@property (retain, nonatomic) IBOutlet UIImageView *backgroundImageView;

@property NSInteger *TAG_CATALOG_INDEX;
@property NSInteger *TAG_CATALOG_ELEMENT_INDEX;
@property NSInteger *TAG_MATCH_INDEX;

@property NSInteger *type;

@property (retain,nonatomic) NSString *lable1;
@property (retain,nonatomic) NSString *lable2;
@property (retain,nonatomic) NSString *lable3;

@property (nonatomic, strong) LBYouTubePlayerViewController* controller;


-(id)initWithNibNameAndType:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil:(NSInteger *)Type:(NSInteger *)cIndex:(NSInteger *)ceIndex:(NSInteger *)mIndex;
@end
